namespace Comms.Drt {
    public class ClientJoinGameRefusedMessage : Message {
        public int ClientID;

        public string Reason;

        public override void Read(Reader reader) {
            ClientID = reader.ReadPackedInt32();
            Reason = reader.ReadString();
        }

        public override void Write(Writer writer) {
            writer.WritePackedInt32(ClientID);
            writer.WriteString(Reason);
        }
    }
}